{% extends "base.html" %} 
{% block mainbody %}
<p>继承了base.html</p>
{% endblock %}